package com.test.fenbushi;

import com.test.fenbushi.aop.CacheKeyGenerator;
import com.test.fenbushi.aop.LockKeyGenerator;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class fenbushiApplication {
    public static void main(String[] args) {
        SpringApplication.run(fenbushiApplication.class,args);
    }
    @Bean
    public CacheKeyGenerator cacheKeyGenerator(){
        return new LockKeyGenerator();
    }
}
